//
//  GXCommonOrderInformationViewCell.m
//  YIChuSeller
//
//  Created by 田小椿 on 2018/12/5.
//  Copyright © 2018年 xiangshengjun. All rights reserved.
//

#import "GXCommonOrderInformationViewCell.h"
@interface GXCommonOrderInformationViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *remarkLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderNumberLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneLabel;
@property (weak, nonatomic) IBOutlet UILabel *constactLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end
@implementation GXCommonOrderInformationViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setOrderDict:(NSDictionary *)orderDict
{
    _orderDict = orderDict;
    
    self.remarkLabel.text = [NSString isBlankString:orderDict[@"remark"]] ? @"无":orderDict[@"remark"];
    self.orderNumberLabel.text = orderDict[@"oNumber"];
    self.phoneLabel.text = orderDict[@"phone"];
    self.constactLabel.text = orderDict[@"name"];
    self.timeLabel.text = orderDict[@"xdDate"];
}
@end
